package TC;

import java.awt.Graphics;

import javax.swing.ImageIcon;
import javax.swing.JPanel;

public class sandjpanel extends JPanel{
	 /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public void paintComponent(Graphics g){
		int x=0,y=0;
		java.net.URL imgURL=getClass().getResource("/src/sand.jpg");
		ImageIcon icon=new ImageIcon(ClassLoader.getSystemResource("TC/sand.jpg"));
		g.drawImage(icon.getImage(),x,y,getSize().width,getSize().height,this);
	  }

}
